<?php /* Smarty version 2.6.18, created on 2009-07-20 13:06:20
         compiled from fisherreceipt.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'fisherreceipt.tpl', 13, false),)), $this); ?>
<table border=0 width="100%">
					<tr>
						<td>MOID</td>
						<td>Organism</td>
						<td>Size</td>
						<td>Qty. Received</td>
						<td>DOA</td>
						<td>Reject</td>
					</tr>
					<tr><td colspan="6"><hr></td></tr>
					
					<?php $_from = $this->_tpl_vars['receipts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
					<tr class="<?php echo smarty_function_cycle(array('values' => 'blue,notify'), $this);?>
">
						<td width="10%"><?php echo $this->_tpl_vars['item']['moid']; ?>
</td>
						<td width="30%"><?php echo $this->_tpl_vars['item']['name']; ?>
</td>
						<td width="10%"><?php echo $this->_tpl_vars['item']['size']; ?>
</td>
						<td width="10%" align="right" style="padding-right:10px"><?php echo $this->_tpl_vars['item']['received_quantity']; ?>
</td>
						<td width="10%" align="right" style="padding-right:10px"><?php echo $this->_tpl_vars['item']['doa_quantity']; ?>
</td>
						<td width="10%" align="right" style="padding-right:10px">
						<table border="0" width="100%">
						<?php $_from = $this->_tpl_vars['item']['reject']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['reject']):
?>
							<tr class="<?php echo smarty_function_cycle(array('values' => 'blue,notify'), $this);?>
">
								<td><?php echo $this->_tpl_vars['reject']['qty']; ?>
</td>
								<td nowrap><?php echo $this->_tpl_vars['reject']['reason']; ?>
</td>
							</tr>
						<?php endforeach; endif; unset($_from); ?>
						</table>
						</td>
					</tr>
<?php endforeach; endif; unset($_from); ?>